package com.nl.controller.sms5g.service;

import com.github.pagehelper.PageInfo;
import com.nl.controller.common.util.BaseResult;
import com.nl.controller.common.util.ResponseUtil;
import com.nl.controller.sms5g.bean.bo.CreateSignatureBo;
import com.nl.controller.sms5g.bean.bo.QrySignatureBo;
import com.nl.controller.sms5g.bean.bo.QrySignatureBo2;
import com.nl.controller.sms5g.bean.bo.UpdateSignatureBo;
import com.nl.controller.sms5g.bean.po.SignatureInfo;

import java.util.List;

/**
 * @desc 5G多媒体签名
 * @return null
 * @author l
 * @date 2021/5/30 20:10
 */
public interface Sms5gSignatureService {
    
    /**
     * aa
     * @desc 根据签名判重
     * @param signName 
     * @return java.lang.Boolean
     * @author l
     * @date 2021/6/17 10:33
     */
    public BaseResult<Integer> judgeRepeat(String signName);
    /**
     * @desc 新建5G多媒体签名
     * @param createSignatureBo 
     * @return com.nl.controller.common.util.BaseResult
     * @author l
     * @date 2021/5/30 21:35
     */
    public BaseResult createSignature(CreateSignatureBo createSignatureBo);
    
    /**
     * @desc 变更5G多媒体签名
     * @param updateSignatureBo 
     * @return com.nl.controller.common.util.BaseResult
     * @author l
     * @date 2021/5/30 21:55
     */
    public BaseResult updateSignature(UpdateSignatureBo updateSignatureBo);
    
    /**
     * @desc 
     * @param page 
     * @param limit
     * @param cityId
     * @param countyId
     * @param signName
     * @param ecName
     * @param checkState
     * @param industryType
     * @param customerType
     * @return com.github.pagehelper.PageInfo<com.nl.controller.sms5g.bean.po.SignatureInfo>
     * @author l
     * @date 2021/6/17 20:35
     */
    public PageInfo<SignatureInfo> qrySignatureList(int page,int limit,String cityId,String countyId,String signName,String ecName,String checkState,String industryType,String customerType);

    /**
     * aaa
     * @desc 查询5g签名通道号
     * @param cityId
     * @return java.util.List<java.lang.String>
     * @author l
     * @date 2021/6/16 10:12
     */
    public List<String> find5gExtIdByCityId(String cityId);

    /**
     * @desc 查询签名列表，无分页
     * @param qrySignatureBo
     * @return com.nl.controller.common.util.BaseResult<java.util.List<com.nl.controller.sms5g.bean.po.SignatureInfo>>
     * @author l
     * @date 2021/6/17 10:31
     */
    BaseResult<List<SignatureInfo>> qrySignatureList2(QrySignatureBo2 qrySignatureBo);

    int removeSign(String signId);

    BaseResult reApplySign(String signId);
}
